import { createApp } from './main'

const { app, router, store } = createApp()
if(window.__INIT_STATE__) {
  store.replaceState(window.__INIT_STATE__)
}
router.isReady().then(() => {
  app.mount('#app')
})